import requests


class LoginApi(object):
    def __init__(self):
        self.login_url = 'http://ihrm-test.itheima.net/api/sys/login'

    def login(self, body):
        return requests.post(self.login_url, json=body)
